package com.ruoyi.pg.logInfo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.pg.logInfo.domain.PgLoghis;
import com.ruoyi.pg.logInfo.vo.PgLoghisVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 登录记录Mapper接口
 *
 * @author Ming
 * @date 2025-08-22
 */
public interface PgLoghisMapper extends BaseMapper<PgLoghis> {

    Page<PgLoghisVo> queryList(Page<?> page, @Param("entity") PgLoghisVo entity);

    List<PgLoghisVo> queryList(@Param("entity") PgLoghisVo entity);

    PgLoghisVo queryById(@Param("id") Long id);

}
